#ifndef CHECKPOINTREACHEDABILITYVISITOR_H
#define CHECKPOINTREACHEDABILITYVISITOR_H

#include "GameAbilityVisitor.h"
#include "CheckpointReachedAbility.h"

class CheckpointReachedAbilityVisitor: public GameAbilityVisitor
{
public:
	CheckpointReachedAbilityVisitor();
	virtual ~CheckpointReachedAbilityVisitor();

	virtual void Visit(CheckpointReachedAbility& ability);

	void Clear();
	bool FoundAbility() const;
	CheckpointReachable* CheckpointReachableInterface() const;

protected:
private:
	bool found;
	CheckpointReachable* checkpointreachableInterface;
};

#endif //CHECKPOINTREACHEDABILITYVISITOR_H
